package com.iqiyi.service.impl;

import com.iqiyi.mapper.LabelMapper;
import com.iqiyi.po.Label;
import com.iqiyi.service.LabelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * TODO
 *  标签的业务层
 * @author YoungKai
 * @date 2021/2/24 11:30
 */
@Service
public class LabelServiceImpl implements LabelService {
    @Autowired(required = false)
    private LabelMapper labelMapper;
    @Override
    public List<Label> findLnameByVid(int vid) {
        List<Label> labels = labelMapper.findLnameByVid(vid);
        return labels;
    }
}
